# -*- coding: utf-8 -*-
"""
@Time ： 2021/5/5 19:38
@Auth ： Mr. royalday 2487625775
@Company ：XXX
@Function ：项目主页
"""
from django.shortcuts import render


def dashboard(request, project_id):
    """
    项目主页-概述页面
    :param request:
    :param project_id: 项目id
    :return:
    """
    return render(request, 'manage/dashboard.html')


def issues(request, project_id):
    """
    项目主页-BUG页面
    :param request:
    :param project_id: 项目id
    :return:
    """
    return render(request, 'manage/issues.html')


def statistics(request, project_id):
    """
    项目主页-统计页面
    :param request:
    :param project_id: 项目id
    :return:
    """
    return render(request, 'manage/statistics.html')


def file(request, project_id):
    """
    项目主页-文件页面
    :param request:
    :param project_id: 项目id
    :return:
    """
    return render(request, 'manage/file.html')


def setting(request, project_id):
    """
    项目主页-配置页面
    :param request:
    :param project_id: 项目id
    :return:
    """
    return render(request, 'manage/setting.html')
